﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace DTO
{
	[DataContract]
	public class Cart {
		public const String c_id = "id";
		private Int64 m_id;
		[DataMember]
		public Int64  id { 
			 get {return m_id;} 
			 set { m_id = value; } 
		}

		public const String c_customerId = "customerId";
		private Int64 m_customerId;
		[DataMember]
		public Int64  customerId { 
			 get {return m_customerId;} 
			 set { m_customerId = value; } 
		}

		public const String c_credit = "credit";
		private String m_credit;
		[DataMember]
		public String  credit { 
			 get {return m_credit;} 
			 set { m_credit = value; } 
		}

		public const String c_bank = "bank";
		private String m_bank;
		[DataMember]
		public String  bank { 
			 get {return m_bank;} 
			 set { m_bank = value; } 
		}

		public const String c_total = "total";
		private Decimal m_total;
		[DataMember]
		public Decimal  total { 
			 get {return m_total;} 
			 set { m_total = value; } 
		}

		public const String c_status = "status";
		private Int32 m_status;
		[DataMember]
		public Int32  status { 
			 get {return m_status;} 
			 set { m_status = value; } 
		}

		public const String c_orderId = "orderId";
		private Int32 m_orderId;
		[DataMember]
		public Int32  orderId { 
			 get {return m_orderId;} 
			 set { m_orderId = value; } 
		}

		public const String c_create_on = "create_on";
		private DateTime m_create_on;
		[DataMember]
		public DateTime  create_on { 
			 get {return m_create_on;} 
			 set { m_create_on = value; } 
		}

		public const String b_Cart = "Cart";

	}

 }
